<template lang="">
    <div>
        <span>
            <!-- 插槽标签 -->
            <!-- <slot></slot> -->
        </span>
        --
        {{ title }}
        <!-- <slot></slot> -->
        <slot name="home"></slot>
        <div class="main">
            <!-- 内容 -->
            <slot></slot>
        </div>
        <slot name="footer"></slot>
    </div>
</template>
<script>
export default {
    props: ['title']
}
</script>